Advanced search queries in Unreal Engine help speed up the process of optimization and creation. I created these while undertaking the migration of hundreds of thousands of assets from Unreal Engine into UEFN. If you have a better or different way to do a query or something helpful to add to the post please share
ments. Much appreciate.
Triangles
This helps find meshes over the recommended maximum of 20k triangles.
triangles > 20000
Collision
It is important, do be a having it in your mesh. Below looks for meshes without collision.
CollisionPrims <=0
Streaming
Streaming allows content to be loaded into game as needed rather than all at once. In UEFN all non user interface content should be set to streaming unless you have a critical reason it should not be. (like hiding the game loading or ensuring your device functionality is ready at the beginning of a game or in a distant part of a level)
Query below finds content that is set to not stream content and is also not in the user interface.
NeverStream==true&&TextureGroup!=UI
Dimension Simple
Texture equals exactly 1024x1024
Dimensions == '1024x1024'
Texture does not equal exactly 1024x1024
Dimensions! != '1024x1024'
Power of Two
Find textures that aren't power of two or already padded to power of two.
(PaddingandResizing!=PadtoPowerofTwo) AND (Dimensions != '8192x8192') AND (Dimensions != '4096x4096') AND (Dimensions != '2048x2048') AND (Dimensions != '1024x1024') AND (Dimensions != '512x512') AND (Dimensions !='256x256') AND (Dimensions != '128x128') AND (Dimensions !='64x64') AND (Dimensions !='32x32') AND (Dimensions !='16x16') AND (Dimensions !='8x8') AND (Dimensions !='4x4')
Compression Format
This is the beginnings of a query I didn't really use. Compression settings weren't observably as critical to validation in UEFN.
(Format != DXT1) AND (Format != DXT5) AND (Format !=BC5)
Additional Notes
Search queries can be saved and used again and again as a custom filter. Additionally, there are existing filters in the "Other" category that are a godsend. Specifically, in UEFN there is a filter for showing only Unsupported assets. There are also filters for showing assets not used in any assets and assets not used in any level. This is critically helpful when attempting to reduce project size without breaking the game.